package com.example.shengyin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("门店类")
public class Shop {
    @ApiModelProperty("编号")
    private Long id;
    @ApiModelProperty("地址")
    private Long addrid;

    private City addrCity;

    @ApiModelProperty("详细地址")
    private String detailaddr;
    @ApiModelProperty("门店名")
    private String sname;

    @ApiModelProperty("联系方式")
    private String contact;

    @ApiModelProperty("门店图片")
    private String coverimg;

    @ApiModelProperty("地址名")
    private String addrname;

}
